<!--
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2023-04-19 16:41:20
 * @LastEditors: huangtianyang
 * @LastEditTime: 2023-07-28 11:46:12
 * @FilePath: \cxl-h5\src\pages\personalCenter\wallet\refund\submit\Index.vue
-->

<template>
    <section class="submit-container">
        <Submit :text="text">
            <template #content>
                <span class="detailed" @click="lookDetailed">申请记录</span>
            </template>
        </Submit>
    </section>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'
import Submit from '@/components/Submit.vue'
import useWeixinSdk from '@/utils/WXSdk'
import { useRouter } from 'vue-router'
// import router from '@/router'

const router = useRouter()

const text = ref('您提交的退款申请预计1~2个工作日内完成，请耐心等候~')
//查看详情
const lookDetailed = () => {
    router.replace({ path: '/refund/history' })
}
onMounted(() => {
    useWeixinSdk.disableShare()
})
</script>
<style scoped lang="scss">
.detailed {
    font-size: var(--cxl-size-16);
    color: var(--cxl-color-primary);
    margin-top: var(--cxl-size-20);
    display: block;
}
</style>
